package create.rpc;

import create.rpc.serializer.CommonSerializer;

public interface RpcServer
{
    int DEFAULT_SERIALIZER = CommonSerializer.KRYO_SERIALIZER;
    void start();

    <T> void publishService(T service, String serviceName);

//    void setSerializer(CommonSerializer serializer);
}
